package cn.good.yan.model.controller;

import cn.good.yan.model.entity.Re;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试
 * 接口文档地址：http://localhost:8080/doc.html
 *
 * @author shengren.yan
 * @create 2024/11/4
 */
@RestController
public class HelloController {


    @GetMapping("/hello")
    public Re test1() {
        return Re.success("ok!!!");
    }


    @GetMapping("/hello2")
    public Re hello2() {
        return Re.success("hello2 --- ok!!!");
    }


}
